<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link rel="stylesheet" type="text/css" href="./style.css" />
<title>Winged Calendar</title>
</head>
<body>
<?php
//-- calendar usage --//
include('./calendar.php');
$calendar = new WingedCalendar();
$calendar->show_calendar(1, 1);

//-- check document root setting --//
print $calendar->checkDocumentRoot()? '<p>Document Root is set correctly.</p>' : '<p>Error: Wrong document root. Ask your host about it.</p>';


?>
</body>
</html>